package test4;

import java.util.Arrays;
import java.util.Optional;

public class test{
    public static void main(String[] args){
        test1 a=new test1();
        a.display();
        demo.show();
        Arrays.asList("j","a","v","a","8").forEach(e->System.out.println(e));
        Optional<String> str=Optional.ofNullable(null);
        System.out.println("str having value ?"+str.isPresent());
    }
}